package com.jy.rhin.application.enums;

/**
 * @Description: 事件结果代码
 * @Author: lww
 * @Date: 2022/5/12 11:21
 */
public enum EventOutcomeIndicatorEnum implements BaseEnum{

    /**
     * C.2　事件结果代码
     */
    SUCCESS("0", "成功"),
    MINOR_FAILURE("4", "一般错误"),
    SERIOUS_FAILURE("8", "严重错误"),
    MAJOR_FAILURE("12", "主要错误");

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getName() {
        return name;
    }

    private String code;
    private String name;

    private EventOutcomeIndicatorEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }
}
